<?php 
$i=0;
$modelAlias = array_pop(explode('.',$model));
foreach($comments as $comment)
{ 
	if(isset($comment[$modelAlias]))
	{
		$comment = $comment[$modelAlias];
	}	
	$class = null;
	if ($i++ % 2 == 0)
	{
		$class = 'altrow';
	}
?>
<div class="<?php echo $class;?>">
	<?php echo nl2br($comment['body']);?>

	<div class="post_info">
	Posted by <?php echo $html->link($comment['poster']['full_name'], $comment['poster']['profile_url']); ?>
	| <?php echo $time->nice($comment['created']);?>
	</div>
</div>
<?php } ?>